As an advanced use of the redirect method, you can redirect all requests for files in a particular directory to a program. Generally, you also want to pass any parameters from the original URL to the program, which you can do by using redirect variables.
To redirect requests to a programFor example, to redirect all requests for scripts in a Scripts directory to a logging program that records the requested URL and any parameters passed with the URL, type /Scripts/Logger.exe?URL=$V+PARAMS=$P. $V and $P are redirect variables.
For more information on redirect variables, see Redirect Reference.